//
//  ZFMapICon.h
//  外星球生活圈
//
//  Created by apple on 15/8/17.
//  Copyright (c) 2015年 MR.ZHOU. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface ZFMapICon : NSObject<MKAnnotation>
//大头针位置
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
//大头针标题
@property (nonatomic, copy) NSString *title;
// 大头针的子标题
@property (nonatomic, copy) NSString *subtitle;
// 大头针的图标
@property (nonatomic, copy) UIImage  *image;

+ (ZFMapICon *)annotationWithTitle:(NSString *)title subtitle:(NSString *)subtitle setimage:(UIImage *)image;

- (instancetype)initWithTitle:(NSString *)title subtitle:(NSString *)subtitle setimage:(UIImage *)image;
@end
